3.255 \(\int \tan ^{\frac{2}{3}}(c+d x) (a+i a \tan (c+d x))^{3/2} \, dx\)

Optimal. Leaf size=82 \[ \frac{3 a \tan ^{\frac{5}{3}}(c+d x) \sqrt{a+i a \tan (c+d x)} F_1\left (\frac{5}{3};-\frac{1}{2},1;\frac{8}{3};-i \tan (c+d x),i \tan (c+d x)\right )}{5 d \sqrt{1+i \tan (c+d x)}} \]

[Out]

(3*a*AppellF1[5/3, -1/2, 1, 8/3, (-I)*Tan[c + d*x], I*Tan[c + d*x]]*Tan[c + d*x]^(5/3)*Sqrt[a + I*a*Tan[c + d*
x]])/(5*d*Sqrt[1 + I*Tan[c + d*x]])

________________________________________________________________________________________

Rubi [A]  time = 0.146763, antiderivative size = 82, normalized size of antiderivative = 1., number of steps used = 4, number of rules used = 4, integrand size = 28, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.143, Rules used = {3564, 130, 511, 510} \[ \frac{3 a \tan ^{\frac{5}{3}}(c+d x) \sqrt{a+i a \tan (c+d x)} F_1\left (\frac{5}{3};-\frac{1}{2},1;\frac{8}{3};-i \tan (c+d x),i \tan (c+d x)\right )}{5 d \sqrt{1+i \tan (c+d x)}} \]

Antiderivative was successfully verified.

[In]

Int[Tan[c + d*x]^(2/3)*(a + I*a*Tan[c + d*x])^(3/2),x]

[Out]

(3*a*AppellF1[5/3, -1/2, 1, 8/3, (-I)*Tan[c + d*x], I*Tan[c + d*x]]*Tan[c + d*x]^(5/3)*Sqrt[a + I*a*Tan[c + d*
x]])/(5*d*Sqrt[1 + I*Tan[c + d*x]])

Rule 3564

Int[((a_) + (b_.)*tan[(e_.) + (f_.)*(x_)])^(m_)*((c_.) + (d_.)*tan[(e_.) + (f_.)*(x_)])^(n_), x_Symbol] :> Dis
t[(a*b)/f, Subst[Int[((a + x)^(m - 1)*(c + (d*x)/b)^n)/(b^2 + a*x), x], x, b*Tan[e + f*x]], x] /; FreeQ[{a, b,
 c, d, e, f, m, n}, x] && NeQ[b*c - a*d, 0] && EqQ[a^2 + b^2, 0] && NeQ[c^2 + d^2, 0]

Rule 130

Int[((e_.)*(x_))^(p_)*((a_) + (b_.)*(x_))^(m_)*((c_) + (d_.)*(x_))^(n_), x_Symbol] :> With[{k = Denominator[p]
}, Dist[k/e, Subst[Int[x^(k*(p + 1) - 1)*(a + (b*x^k)/e)^m*(c + (d*x^k)/e)^n, x], x, (e*x)^(1/k)], x]] /; Free
Q[{a, b, c, d, e, m, n}, x] && NeQ[b*c - a*d, 0] && FractionQ[p] && IntegerQ[m]

Rule 511

Int[((e_.)*(x_))^(m_.)*((a_) + (b_.)*(x_)^(n_))^(p_)*((c_) + (d_.)*(x_)^(n_))^(q_), x_Symbol] :> Dist[(a^IntPa
rt[p]*(a + b*x^n)^FracPart[p])/(1 + (b*x^n)/a)^FracPart[p], Int[(e*x)^m*(1 + (b*x^n)/a)^p*(c + d*x^n)^q, x], x
] /; FreeQ[{a, b, c, d, e, m, n, p, q}, x] && NeQ[b*c - a*d, 0] && NeQ[m, -1] && NeQ[m, n - 1] &&  !(IntegerQ[
p] || GtQ[a, 0])

Rule 510

Int[((e_.)*(x_))^(m_.)*((a_) + (b_.)*(x_)^(n_))^(p_)*((c_) + (d_.)*(x_)^(n_))^(q_), x_Symbol] :> Simp[(a^p*c^q
*(e*x)^(m + 1)*AppellF1[(m + 1)/n, -p, -q, 1 + (m + 1)/n, -((b*x^n)/a), -((d*x^n)/c)])/(e*(m + 1)), x] /; Free
Q[{a, b, c, d, e, m, n, p, q}, x] && NeQ[b*c - a*d, 0] && NeQ[m, -1] && NeQ[m, n - 1] && (IntegerQ[p] || GtQ[a
, 0]) && (IntegerQ[q] || GtQ[c, 0])

Rubi steps

\begin{align*} \int \tan ^{\frac{2}{3}}(c+d x) (a+i a \tan (c+d x))^{3/2} \, dx &=\frac{\left (i a^2\right ) \operatorname{Subst}\left (\int \frac{\left (-\frac{i x}{a}\right )^{2/3} \sqrt{a+x}}{-a^2+a x} \, dx,x,i a \tan (c+d x)\right )}{d}\\ &=-\frac{\left (3 a^3\right ) \operatorname{Subst}\left (\int \frac{x^4 \sqrt{a+i a x^3}}{-a^2+i a^2 x^3} \, dx,x,\sqrt [3]{\tan (c+d x)}\right )}{d}\\ &=-\frac{\left (3 a^3 \sqrt{a+i a \tan (c+d x)}\right ) \operatorname{Subst}\left (\int \frac{x^4 \sqrt{1+i x^3}}{-a^2+i a^2 x^3} \, dx,x,\sqrt [3]{\tan (c+d x)}\right )}{d \sqrt{1+i \tan (c+d x)}}\\ &=\frac{3 a F_1\left (\frac{5}{3};-\frac{1}{2},1;\frac{8}{3};-i \tan (c+d x),i \tan (c+d x)\right ) \tan ^{\frac{5}{3}}(c+d x) \sqrt{a+i a \tan (c+d x)}}{5 d \sqrt{1+i \tan (c+d x)}}\\ \end{align*}

Mathematica [F]  time = 13.5732, size = 0, normalized size = 0. \[ \int \tan ^{\frac{2}{3}}(c+d x) (a+i a \tan (c+d x))^{3/2} \, dx \]

Verification is Not applicable to the result.

[In]

Integrate[Tan[c + d*x]^(2/3)*(a + I*a*Tan[c + d*x])^(3/2),x]

[Out]

Integrate[Tan[c + d*x]^(2/3)*(a + I*a*Tan[c + d*x])^(3/2), x]

________________________________________________________________________________________

Maple [F]  time = 0.304, size = 0, normalized size = 0. \begin{align*} \int \left ( \tan \left ( dx+c \right ) \right ) ^{{\frac{2}{3}}} \left ( a+ia\tan \left ( dx+c \right ) \right ) ^{{\frac{3}{2}}}\, dx \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(tan(d*x+c)^(2/3)*(a+I*a*tan(d*x+c))^(3/2),x)

[Out]

int(tan(d*x+c)^(2/3)*(a+I*a*tan(d*x+c))^(3/2),x)

________________________________________________________________________________________

Maxima [F]  time = 0., size = 0, normalized size = 0. \begin{align*} \int{\left (i \, a \tan \left (d x + c\right ) + a\right )}^{\frac{3}{2}} \tan \left (d x + c\right )^{\frac{2}{3}}\,{d x} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(tan(d*x+c)^(2/3)*(a+I*a*tan(d*x+c))^(3/2),x, algorithm="maxima")

[Out]

integrate((I*a*tan(d*x + c) + a)^(3/2)*tan(d*x + c)^(2/3), x)

________________________________________________________________________________________

Fricas [F(-1)]  time = 0., size = 0, normalized size = 0. \begin{align*} \text{Timed out} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(tan(d*x+c)^(2/3)*(a+I*a*tan(d*x+c))^(3/2),x, algorithm="fricas")

[Out]

Timed out

________________________________________________________________________________________

Sympy [F(-1)]  time = 0., size = 0, normalized size = 0. \begin{align*} \text{Timed out} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(tan(d*x+c)**(2/3)*(a+I*a*tan(d*x+c))**(3/2),x)

[Out]

Timed out

________________________________________________________________________________________

Giac [F(-2)]  time = 0., size = 0, normalized size = 0. \begin{align*} \text{Exception raised: TypeError} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(tan(d*x+c)^(2/3)*(a+I*a*tan(d*x+c))^(3/2),x, algorithm="giac")

[Out]

Exception raised: TypeError